package com.yunhe.merchants.model;

import com.alibaba.excel.annotation.ExcelProperty;
import com.yunhe.common.metadata.BaseExcelModel;

/**
 * @ClassName DataProejctUpload
 * @Description TODO
 * @Author HeTao
 * @Date 2021/5/11 14:34
 * @Version 1.0
 **/
public class DataProjectUpload extends BaseExcelModel {

    @ExcelProperty(value = "企业名称" , index = 0)
    private String companyName;
    @ExcelProperty(value = "联系人" , index = 1)
    private String custName;
    @ExcelProperty(value = "电话" , index = 2)
    private String custTel;
    @ExcelProperty(value = "企业行业" , index = 3)
    private String industryTypeTitle;
    @ExcelProperty(value = "来源" , index = 4)
    private String dataSourceTitle;
    @ExcelProperty(value = "其他备注" , index = 5)
    private String remark;

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public String getCustName() {
        return custName;
    }

    public void setCustName(String custName) {
        this.custName = custName;
    }

    public String getCustTel() {
        return custTel;
    }

    public void setCustTel(String custTel) {
        this.custTel = custTel;
    }

    public String getIndustryTypeTitle() {
        return industryTypeTitle;
    }

    public void setIndustryTypeTitle(String industryTypeTitle) {
        this.industryTypeTitle = industryTypeTitle;
    }

    public String getDataSourceTitle() {
        return dataSourceTitle;
    }

    public void setDataSourceTitle(String dataSourceTitle) {
        this.dataSourceTitle = dataSourceTitle;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public Boolean isEmpty() {
        return super.isEmpty() || "电话".equals(this.custTel);
    }
}
